3 research outputs found

    Dictionary Matching with One Gap

    Full text link
    The dictionary matching with gaps problem is to preprocess a dictionary DD of dd gapped patterns P1,,PdP_1,\ldots,P_d over alphabet Σ\Sigma, where each gapped pattern PiP_i is a sequence of subpatterns separated by bounded sequences of don't cares. Then, given a query text TT of length nn over alphabet Σ\Sigma, the goal is to output all locations in TT in which a pattern PiDP_i\in D, 1id1\leq i\leq d, ends. There is a renewed current interest in the gapped matching problem stemming from cyber security. In this paper we solve the problem where all patterns in the dictionary have one gap with at least α\alpha and at most β\beta don't cares, where α\alpha and β\beta are given parameters. Specifically, we show that the dictionary matching with a single gap problem can be solved in either O(dlogd+D)O(d\log d + |D|) time and O(dlogεd+D)O(d\log^{\varepsilon} d + |D|) space, and query time O(n(βα)loglogdlog2min{d,logD}+occ)O(n(\beta -\alpha )\log\log d \log ^2 \min \{ d, \log |D| \} + occ), where occocc is the number of patterns found, or preprocessing time and space: O(d2+D)O(d^2 + |D|), and query time O(n(βα)+occ)O(n(\beta -\alpha ) + occ), where occocc is the number of patterns found. As far as we know, this is the best solution for this setting of the problem, where many overlaps may exist in the dictionary.Comment: A preliminary version was published at CPM 201

    Exploring the cost-effectiveness of high versus low perioperative fraction of inspired oxygen in the prevention of surgical site infections among abdominal surgery patients in three low- and middle-income countries

    No full text
    Background: This study assessed the potential cost-effectiveness of high (80–100%) vs low (21–35%) fraction of inspired oxygen (FiO2) at preventing surgical site infections (SSIs) after abdominal surgery in Nigeria, India, and South Africa. Methods: Decision-analytic models were constructed using best available evidence sourced from unbundled data of an ongoing pilot trial assessing the effectiveness of high FiO2, published literature, and a cost survey in Nigeria, India, and South Africa. Effectiveness was measured as percentage of SSIs at 30 days after surgery, a healthcare perspective was adopted, and costs were reported in US dollars ().Results:HighFiO2maybecosteffective(cheaperandeffective).InNigeria,theaveragecostforhighFiO2was). Results: High FiO2 may be cost-effective (cheaper and effective). In Nigeria, the average cost for high FiO2 was 216 compared with 222forlowFiO2leadingtoa 222 for low FiO2 leading to a −6 (95% confidence interval [CI]: −13to 13 to −1) difference in costs. In India, the average cost for high FiO2 was 184comparedwith184 compared with 195 for low FiO2 leading to a −11(9511 (95% CI: −15 to −6)differenceincosts.InSouthAfrica,theaveragecostforhighFiO2was6) difference in costs. In South Africa, the average cost for high FiO2 was 1164 compared with 1257forlowFiO2leadingtoa 1257 for low FiO2 leading to a −93 (95% CI: −132to 132 to −65) difference in costs. The high FiO2 arm had few SSIs, 7.33% compared with 8.38% for low FiO2, leading to a −1.05 (95% CI: −1.14 to −0.90) percentage point reduction in SSIs. Conclusion: High FiO2 could be cost-effective at preventing SSIs in the three countries but further data from large clinical trials are required to confirm this
    corecore